{% load rest_framework %}

<div class="modal">
    <h1>Refund {{ payment_intent.id }}</h1>

    <form action="{% url 'payment-intent-refund' pk=payment_intent.pk %}" method="POST">
        {% render_form serializer %}

        <br/>

        <input type="submit" value="Refund"/>
    </form>
</div>
